<%-- 
    Document   : index.jsp
    Created on : Jun 12, 2011, 11:48:32 PM
    Author     : bsmith
--%>

<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes" uri="http://stripes.sourceforge.net/stripes.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
  <head><title>Statement</title></head>
  <body>
    <h1>Statement</h1>
    <stripes:form action="/statement/Statement.action" focus=""> 
    <table>
      <tr>
          <c:forEach var="head" items="${actionBean.header}">
            <th>${head}</th>
          </c:forEach>
      </tr>
      <c:forEach var="statementrows" items="${actionBean.rows}"><!-- (2) -->
        <tr>
            <c:forEach var="statementrowitem" items="${statementrows.rowItem}">
                <td>${statementrowitem.rowItem}</td>
            </c:forEach>
          <td>${row}</td>
        </tr>
      </c:forEach>
    </table>
    </stripes:form>
  </body>
</html>